var ScoreView = JW.Canvas.Component.extend({
		color: "rgb(0,255,0)", // color of infoBar
		value: 0, // [integer]
		
		render : function() 
		{
			this._super();
            this.updateText();
		},
		setValue : function(value)
		{
			this.value = value;
            this.updateText();
		},
        
        updateText: function()
        {
            this.graphics.clear();
            this.graphics.beginPath();
            this.graphics.fillStyle(this.color);
            this.graphics.font("30pt sans-serif");
            this.graphics.fillText(String(this.value), 20, 45);
            this.graphics.closePath();
        }
});
